package org.lwj.web.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.lwj.web.domain.User;
import org.lwj.web.mapper.UserMapper;
import org.lwj.web.service.IUserService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class UserServiceImpl extends ServiceImpl<UserMapper, User> implements IUserService {

    @Resource
    private UserMapper userMapper;

    /**
     * 自定义sql语句查询
     * @param user
     * @return
     */
    @Override
    public User selectByXml(User user) {
        return userMapper.selectByXml(user);
    }
}
